package com.jbit.dm_160.service.impl;

import com.jbit.dm_160.mapper.SchedulerSeatPriceMapper;
import com.jbit.dm_160.model.dto.SchedulerSeatPriceDTO;
import com.jbit.dm_160.service.SchedulerSeatPriceService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class SchedulerSeatPriceServiceImpl implements SchedulerSeatPriceService {
    @Resource
    private SchedulerSeatPriceMapper schedulerSeatPriceMapper;
    @Override
    public List<SchedulerSeatPriceDTO> getSeatPriceBySchedulerId(Integer schedulerId) {
        return schedulerSeatPriceMapper.getSeatPriceBySchedulerId(schedulerId);
    }

    @Override
    public List<SchedulerSeatPriceDTO> getSeatPriceDetailByScheduleId(Integer schedulerId) {
        return schedulerSeatPriceMapper.getSeatPriceDetailByScheduleId(schedulerId);
    }
}
